QT       += core gui
QT       += network


greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11
CONFIG += utf8

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    addmode.cpp \
    addpage.cpp \
    chatpage.cpp \
    friendmode.cpp \
    friendpage.cpp \
    loginpage.cpp \
    main.cpp \
    mainwindow.cpp \
    networkcontroller.cpp \
    pagecontroller.cpp \
    qqwindow.cpp \
    register.cpp \
    searchpage.cpp \
    userchatmode.cpp \
    userinfo.cpp \
    userinfopage.cpp \
    usermode.cpp \
    verify.cpp

HEADERS += \
    Config.h \
    addmode.h \
    addpage.h \
    chatpage.h \
    friendmode.h \
    friendpage.h \
    loginpage.h \
    mainwindow.h \
    networkcontroller.h \
    pagecontroller.h \
    qqwindow.h \
    register.h \
    searchpage.h \
    userchatmode.h \
    userinfo.h \
    userinfopage.h \
    usermode.h \
    verify.h

FORMS += \
    addmode.ui \
    addpage.ui \
    chatpage.ui \
    friendmode.ui \
    friendpage.ui \
    loginpage.ui \
    mainwindow.ui \
    qqwindow.ui \
    register.ui \
    searchpage.ui \
    userchatmode.ui \
    userinfopage.ui \
    usermode.ui \
    verify.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    res.qrc

DISTFILES += \
    res/image/验证图1.png \
    res/image/验证图2.png
